/* * Font Start */
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
/* * Font End */

/* *============================== */

/* * Variables Start */
:root {
    --side-margin: 120px;
    --semi-bold: 600;
    --medium: 500;
}

[data-theme="light"] {
    --first-clr: #e2e0df;
    --second-clr: #2c2b2a;
    --gradient: radial-gradient(50% 50% at 50% 50%, #e2e0df 0%, #e2e0df 100%);
}
[data-theme="dark"] {
    --first-clr: #2c2b2a;
    --second-clr: #e2e0df;
    --gradient: radial-gradient(50% 50% at 50% 50%, #2c2b2a 0%, #e2e0df 100%);
}
/* * Variables End */

/* *============================== */

/* Chrome, Edge and Safari */
*::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}
*::-webkit-scrollbar-track {
    border-radius: 0px;
    background-color: #b8c0c248;
}

*::-webkit-scrollbar-track:hover {
    background-color: #b8c0c248;
}

*::-webkit-scrollbar-track:active {
    background-color: #b8c0c248;
}

*::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: var(--second-clr);
}

*::-webkit-scrollbar-thumb:hover {
    background-color: var(--second-clr);
}

*::-webkit-scrollbar-thumb:active {
    background-color: var(--second-clr);
}

* {
    transition: background-color 0.4s ease;
    font-family: "Inter";
}

body {
    background-color: var(--first-clr);
}

nav {
    padding: 30px var(--side-margin);
    display: flex;
    justify-content: space-between;
    color: var(--second-clr);
    position: sticky;
    top: 0;
    background-color: var(--first-clr);
    z-index: 10;
    border-bottom: 0.5px solid var(--second-clr);
}

nav .left {
    display: flex;
    gap: 20px;
    font-size: 16px;
}
nav .left a {
    color: var(--second-clr);
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
}
nav .left a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--second-clr);
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}

nav .left a:hover::before {
    width: 100%;
}

nav .right h1 {
    width: 100%;
    font-size: 22px;
    margin: 0;
}

nav .right h2 {
    width: 100%;
    margin: 0;
    font-size: 10px;
}
nav .right > div {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 25px;
}

button {
    border: 0;
    background-color: unset;
    color: var(--second-clr);
}

.offcanvas {
    background-color: var(--first-clr);
    color: var(--second-clr);
}

[data-theme="dark"] .offcanvas .btn-close {
    filter: invert();
}

.offcanvas-body ul li {
    width: 100%;
}

.offcanvas-body ul li a {
    display: block;
    color: var(--second-clr);
    text-decoration: none;
    position: relative;
}

.offcanvas-body ul li a::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--second-clr);
    transition: width 0.3s ease, left 0.3s ease;
}

.offcanvas-body ul li a:hover::before {
    width: 100%;
}

.offcanvas-body ul {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.swiper-container {
    background: var(--gradient), var(--first-clr);
    background-blend-mode: multiply !important;
    box-shadow: inset 0px 0px 64px rgba(0, 0, 0, 0.5);
    padding: 20px 0;
}

.swiper-slide {
    opacity: 0.5;
    width: 300px !important;
}

.swiper-slide-active {
    opacity: 1;
}

.swiper-slide > img {
    width: 100%;
}

.swiper-pagination {
    bottom: 10px;
    text-align: center;
}

.swiper-pagination-bullet {
    background: rgba(158, 158, 158, 0.75);
    border: 1px solid #e2e0df;
    border-radius: 5px;
    width: 15px;
    height: 15px;
    transition: background 0.3s;
}

.swiper-pagination-bullet-active {
    background: white;
    opacity: 1;
}

.section {
    margin-top: 100px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 var(--side-margin);
}

.biography {
    gap: 60px;
}

.biography p {
    word-break: break-word;
}

.biography img {
    /* transform: rotateX(10deg) rotateY(20deg); */
    filter: drop-shadow(-20px 15px 13px rgba(0, 0, 0, 0.32));
}

.section-header-title {
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 35px;
    color: var(--second-clr);
    text-align: center;
}
.biography .text-container {
    font-size: 16px;
    color: var(--second-clr);
    max-width: 700px;
}

.biography p {
    margin-bottom: 30px;
}
.button {
    font-size: 14px;
    color: var(--first-clr);
    padding: 10px 30px;
    margin-top: 20px;
    text-decoration: none;
    border: 1px solid var(--first-clr);
    background-color: var(--second-clr) !important;
    transition: all 0.2s ease;
}

.button:hover {
    color: var(--second-clr);
    background-color: var(--first-clr) !important;
    border: 1px solid var(--second-clr);
}

.exhibitions-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}
.exhibitions-card {
    text-align: center;
    background-color: var(--first-clr);
    color: var(--second-clr);
    padding: 10px;
    width: 350px;
    border: 1px solid var(--second-clr);
}
.exhibitions-card > div {
    font-weight: bold;
}
.exhibitions-card > h4 {
    font-weight: bolder;
    margin: 0;
}

hr {
    color: var(--second-clr);
    margin: 0 var(--side-margin);
    opacity: 50%;
    margin-top: 100px;
}

.header-title-container {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 65px;
    justify-content: center;
    width: 100%;
    text-decoration: none;
}

.header-title-container h2 {
    margin: 0;
}

.grid-items-container {
    margin: -10px;
    gap: 10px;
    justify-content: center;
    width: 100%;
}
.grid-item {
    width: 100%;
    margin-top: 10px;
    background-color: #f0f0f0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: auto;
    transition: all 0.2s ease;
    cursor: pointer;
}

.grid-item.sold::before {
    position: absolute;
    top: 6px;
    right: -27px;
    content: "Sold";
    font-weight: bold;
    height: 30px;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(45deg);
    background-color: var(--first-clr);
    z-index: 10;
    color: var(--second-clr);
}

.hovered-img {
    transform: scale(1.05);
}

.not-hovered-img {
    transform: scale(0.95);
    opacity: 50%;
}

.contact {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--second-clr);
}

input,
textarea {
    padding: 8px;
    border: none;
    background-color: #f5f5f5;
}

.contact .section-header-title {
    color: var(--first-clr);
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    width: 930px;
    justify-content: space-between;
    gap: 35px;
}

.contact label {
    font-weight: var(--medium);
    margin-bottom: 5px;
    color: var(--first-clr);
}

.contact .button {
    font-weight: bold;
    padding: 12px 100px;
    border-radius: 10px;
    background-color: var(--first-clr) !important;
    color: var(--second-clr);
    border: var(--first-clr) 1px solid !important;
}

.contact .button:not([disabled="true"]):hover {
    background-color: var(--second-clr) !important;
    color: var(--first-clr);
    border: var(--first-clr) 1px solid !important;
}

.subscribe {
    background-color: var(--first-clr);
    padding-bottom: 50px;
}

.subscribe p {
    text-align: center;
    color: var(--second-clr);
    font-size: 22px;
    font-weight: var(--medium);
}
.subscribe .button {
    font-weight: bold;
    padding: 12px 100px;
    border-radius: 10px;
    background-color: var(--second-clr) !important;
    color: var(--first-clr);
    border: var(--second-clr) 1px solid !important;
}

.subscribe .button:not(.disabled):hover {
    background-color: var(--first-clr) !important;
    color: var(--second-clr);
    border: var(--second-clr) 1px solid !important;
}

.follow {
    padding-top: 50px;
    background-color: var(--second-clr);
    padding-bottom: 50px;
}
.follow p {
    text-align: center;
    font-size: 24px;
    color: var(--first-clr);
}
.follow .logoes {
    margin-top: 20px;
    width: 100%;
    display: flex;
    gap: 22px;
    justify-content: center;
}

.follow i {
    font-size: 50px;
    color: var(--first-clr);
}

.follow .menu-items {
    margin-top: 40px;
    display: flex;
    gap: 30px;
    justify-content: center;
}
.follow .menu-items a {
    text-decoration: none;
    position: relative;
    color: var(--first-clr);
}

.follow .menu-items a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: var(--first-clr);
    transition: width 0.3s ease, left 0.3s ease;
    transform: translateX(-50%);
}

.follow .menu-items a:hover::before {
    width: 100%;
}

.the-anchor {
    display: block;
    position: relative;
    top: -50px;
    visibility: hidden;
}

/* *============================== */

/* * Media Queries Start */
@media (max-width: 1000px) {
    nav .right > div {
        gap: 17px;
    }

    :root {
        --side-margin: 30px;
    }

    .follow .menu-items {
        display: flex;
        flex-wrap: wrap;
    }

    .exhibitions-card {
        width: 310px;
    }
}
@media (max-width: 1000px) {
    .biography .image-container {
        width: 100%;
        text-align: center;
    }
}
/* * Media Queries End */
